package com.fansl.koala.quickdev.module.koala.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author fansl
 * @Description: 用户vip详情表
 * @date 2020/5/6 11:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_vip")
public class UserVip implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Integer vipLevel;

    private Integer vipStatus;

    private Integer vipType;

    private LocalDateTime liveCreateTime;
}
